<%--
  User: aleksey
  Date: Sep 25, 2009
  Time: 8:22:01 PM
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<html>
<link rel="icon" href="favicon.ico" type="image/x-icon">
<f:view locale="#{localeManager.locale}">
    <f:loadBundle var="msgs" basename="messages"/>
    <head>
        <title><h:outputText value="#{problem.viewingProblem.letterWithPoint}"/><h:outputText value="#{problem.viewingProblem.name}"/></title>
        <link href="olga.css" rel="stylesheet" type="text/css">
    </head>
    <body>
        <h:form id="problem_viewer">
            <%@include file="logoPanel.jspf"%>
            <%@include file="navigationPanel.jspf"%>

            <h1><h:outputText value="#{problem.viewingProblem.letterWithPoint}"/><h:outputText value="#{problem.viewingProblem.name}"/></h1>
            <%--<blockquote><div style="font-size: 20px"><h:outputText value="#{problem.viewingProblem.statementHtml}"/></div></blockquote>--%>
            <%--<f:verbatim><blockquote><div style="font-size: 20px"><h:outputText value="#{problem.viewingProblem.statementHtml}" escape="false"/></div></blockquote></f:verbatim>--%>
            <blockquote><div style="font-size: 20px"><h:outputText value="#{problem.viewingProblem.statementHtml}" escape="false"/></div></blockquote>

            <h2>Input file: <h:outputText value="#{problem.viewingProblem.inputFile}"/></h2>
            <blockquote><div style="font-size: 20px"><h:outputText value="#{problem.viewingProblem.inputDescriptionHtml}" escape="false"/></div></blockquote>
            <h2>Input file example</h2>
            <blockquote><table border ="1" style = "font-family: monospace; font-size: 18px">
            <tr><td><pre><h:outputText value="#{problem.viewingProblem.inputExample}"/></pre></td></tr>
            </table></blockquote>

            <h2>Output file: <h:outputText value="#{problem.viewingProblem.outputFile}"/></h2>
            <blockquote><div style="font-size: 20px"><h:outputText value="#{problem.viewingProblem.outputDescriptionHtml}" escape="false"/></div></blockquote>

            <h2>Output file example</h2>
            <blockquote><table border ="1" style = "font-family: monospace; font-size: 18px">
            <tr><td><pre><h:outputText value="#{problem.viewingProblem.outputExample}"/></pre></td></tr>
            </table></blockquote>

        </h:form>
    </body>
</f:view>
</html>
